package ua.net.gm.common.entity;

/**
 *
 * @author Yason
 */
public class DefaultDictFactory implements IEntityDictFactory<EntityId>
{
    @Override
    public IEntityDict<EntityId> create(final EntitySupport entitySupport, final EntityType entityType)
    {
        return new EntityDict<EntityId>()
        {
            @Override
            protected EntityId createId()
            {
                return new EntityId(entitySupport, entityType);
            }
        };
    }
}
